package cn.sumpu.app.coolsk.domain;

import java.io.Serializable;
import java.util.Date;

import cn.sumpu.toolkit.common.util.Common;

public class Scenic implements Serializable{

	/**
	 * 景区
	 */
	private static final long serialVersionUID = 7250435426321920036L;
	private String id;
	private String name;
	private String opened;
	private String subject;
	private String address;
	private String image1;
	private String description;
	private String activity;
	private String traffic;
	private String notes;
	private String province;
	private String city;
	private String provinceName;
	private String cityName;
	private String county;
	private String discommt;
	private String lng;
	private String lat;
	private Double priceMin;//景区门票最低价
	private Integer disCount;//景区点评数
	private Integer disAllStar;//景区总评分
	private Date gmtCreated = new Date();
	private Date gmtModified = new Date();
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getOpened() {
		return opened;
	}
	public void setOpened(String opened) {
		this.opened = opened;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getImage1() {
		return image1;
	}
	public void setImage1(String image1) {
		this.image1 = image1;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getActivity() {
		return activity;
	}
	public void setActivity(String activity) {
		this.activity = activity;
	}
	public String getTraffic() {
		return traffic;
	}
	public void setTraffic(String traffic) {
		this.traffic = traffic;
	}
	public String getNotes() {
		return notes;
	}
	public void setNotes(String notes) {
		this.notes = notes;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public Date getGmtCreated() {
		return gmtCreated;
	}
	public void setGmtCreated(Date gmtCreated) {
		this.gmtCreated = gmtCreated;
	}
	public Date getGmtModified() {
		return gmtModified;
	}
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getCounty() {
		return county;
	}
	public void setCounty(String county) {
		this.county = county;
	}
	public String getDiscommt() {
		return discommt;
	}
	public void setDiscommt(String discommt) {
		this.discommt = discommt;
	}
	public String getLng() {
		return lng;
	}
	public void setLng(String lng) {
		this.lng = lng;
	}
	public String getLat() {
		return lat;
	}
	public void setLat(String lat) {
		this.lat = lat;
	}
	public String getDescText(){
		String text="";
		if(!Common.emptyStr(description)){
			text=Common.filterHtml(description);
			text=text.replaceAll(" ","");
			if(text.length()>200){
				text=text.substring(0, 200)+"...";
			}
		}
		return text;
	}
	public Double getPriceMin() {
		return priceMin;
	}
	public void setPriceMin(Double priceMin) {
		this.priceMin = priceMin;
	}
	public Integer getDisCount() {
		return disCount;
	}
	public void setDisCount(Integer disCount) {
		this.disCount = disCount;
	}
	public Integer getDisAllStar() {
		return disAllStar;
	}
	public void setDisAllStar(Integer disAllStar) {
		this.disAllStar = disAllStar;
	}
	public String getProvinceName() {
		return provinceName;
	}
	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}
	public String getCityName() {
		return cityName;
	}
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	
}
